import request from "@/utils/request";
export function insertPay(data) {
  return request({
    url: "/tenant-pay/insert",
    method: "post",
    data: data
  });
}
export function updatePay(data) {
  return request({
    url: "/tenant-pay/update",
    method: "post",
    data: data
  });
}
export function deletePay(data) {
  return request({
    url: "/tenant-pay/delete",
    method: "post",
    data: data
  });
}
export function deletesPay(data) {
  return request({
    url: "/tenant-pay/deletes",
    method: "post",
    data: data
  });
}
export function enablePay(data) {
  return request({
    url: "/tenant-pay/enable",
    method: "post",
    data: data
  });
}
export function enablesPay(data) {
  return request({
    url: "/tenant-pay/enables",
    method: "post",
    data: data
  });
}
export function disablePay(data) {
  return request({
    url: "/tenant-pay/disable",
    method: "post",
    data: data
  });
}
export function disablesPay(data) {
  return request({
    url: "/tenant-pay/disables",
    method: "post",
    data: data
  });
}
export function savePay(data) {
  return request({
    url: "/tenant-pay/save",
    method: "post",
    data: data
  });
}
export function getPay() {
  return request({
    url: "/tenant-pay/get",
    method: "get"
  });
}

export function viewPay(params) {
  return request({
    url: "/tenant-pay/view",
    method: "get",
    params: params
  });
}
export function pagePay(params) {
  return request({
    url: "/tenant-pay/page",
    method: "get",
    params: params
  });
}
export function searchPay(params) {
  return request({
    url: "/tenant-pay/search",
    method: "get",
    params: params
  });
}
